//
//  mainEGAViewController.h
//  EGA_Archives_iOS
//
//  Created by gad on 1/6/56 BE.
//  Copyright (c) 2556 EGA. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "menuEGAViewController.h"
@interface mainEGAViewController : UIViewController<menuEGAViewControllerDelegate,UITableViewDataSource,UITableViewDelegate>
{
    BOOL isMenuShown;
    BOOL isLogin;
    int _moveX;
    UINavigationController * navController;
    // UIPopoverController *popoverColor;
    UIView *popoverColorView;
    //  ColorPickerController *_colorController;
    UIPopoverController *_popoverColor;
    NSMutableArray *_summary;
    
}
@property (nonatomic, retain) NSMutableArray *summary;
@property (retain, nonatomic) IBOutlet UINavigationBar *mainNavigationBar;
@property (retain, nonatomic) IBOutlet UINavigationItem *mainNavigationBarItem;
@property (nonatomic, retain) UIPopoverController *popoverColor;
@property (retain, nonatomic) IBOutlet UITableView *tbSummary;
@property (retain, nonatomic) IBOutlet UILabel *lblRowIndex;
@property (retain, nonatomic) IBOutlet UILabel *lblRow;
@property (retain, nonatomic) IBOutlet UIPanGestureRecognizer *PanGesture;
@property (retain, nonatomic) NSNumber *detailItem;
@property (retain, nonatomic) IBOutlet UIToolbar *toolbar;
@property (retain, nonatomic) IBOutlet UILabel *detailTitle;
@property (retain, nonatomic) IBOutlet UILabel *detailDescriptionLabel;
@property (retain, nonatomic) IBOutlet UIButton *btClose;
//@property (strong, nonatomic) IBOutlet UITapGestureRecognizer *GesMenu;
@property (nonatomic,strong) menuEGAViewController *menuController;
//@property (weak, nonatomic) IBOutlet UIBarButtonItem *btMunu;
- (IBAction)btMenuClick:(id)sender;
- (IBAction)hidMenu:(id)sender;
//- (IBAction)handleTap:(UITapGestureRecognizer *)sender;
@property (retain, nonatomic) IBOutlet UIView *contentView;
@property (strong, nonatomic) IBOutlet UIPanGestureRecognizer *monkeyPan;
- (IBAction)handlePan:(UIPanGestureRecognizer *)recognizer;
- (IBAction)btnMenuTouch:(id)sender;
- (IBAction)btnLogoutTouch:(id)sender;
@property (retain, nonatomic) IBOutlet UIButton *btnMenu;
@property (retain, nonatomic) IBOutlet UIButton *btColor;
- (IBAction)showPopColor:(id)sender;

//pragma job
- (IBAction)homeTouch:(id)sender;
- (IBAction)logoutTouch:(id)sender;
@property (retain, nonatomic) IBOutlet UILabel *lbTitleUserName;
@end
